package command;

public class DishOrderCommand implements Command{
    private Chef chef;
    private String dishName;

    public DishOrderCommand(Chef chef, String dishName) {
        this.chef = chef;
        this.dishName = dishName;
    }

    @Override
    public void execute() {
        chef.cookDish(dishName);
    }
}
